home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Icon 8.1 / msm-1 / common.sit / Makefile < prev    next >
Encoding:
Makefile  |  1992-10-10  |  2.6 KB  |  2 lines  |  [TEXT/MPS ]

  1. MakefileTEXTMPS Ç¨¶¸˘Å¶¸˘ÅÅÅ»Q#  The -D{D} option to COptions makes it possible to specify a definition
  2. #  at the Make command level without revising the Makefile, as
  3. #  in
  4. #
  5. #    make D=Debug
  6. #
  7. D=NOTHING
  8. CC=cc
  9. COptions= -b2 -mbg off -r -d MPW -d MPWFncs -d MacToolboxFncs -opt full
  10. RSWITCH=rswitch.a
  11. MAKE = make
  12.  
  13. OBJS=    long.c.o getopt.c.o memory.c.o time.c.o filepart.c.o identify.c.o strtbl.c.o rtdb.c.o ∂
  14.     clocal.c.o literals.c.o rswitch.c.o alloc.c.o long.c.o getopt.c.o memory.c.o time.c.o ∂
  15.     save.c.o {RSWITCH}.o redirerr.c.o xwindow.c.o dlrgint.c.o
  16.  
  17. .c.o ƒ .c
  18.   {C} {DepDir}{Default}.c -o {TargDir}{Default}.c.o -s {Default} {COptions} {SymOption}
  19.  
  20. commonƒ        doincl.c.o patchstr.c.o
  21.         {CC} {LinkOpts} -o doincl doincl.c.o
  22.         {CC} {LinkOpts} -o patchstr patchstr.c.o
  23.         :-.:doincl -o :::bin:rt.h ::h:rt.h
  24.         cp patchstr :::bin
  25.             
  26. xpmƒ
  27.         cd ::xpm; make libXpm.a; cp libXpm.a :::bin
  28.         -(test -f :::NoRanlib) || (ranlib :::bin:libXpm.a)
  29.  
  30. {OBJS}ƒ ::h:define.h ::h:config.h ::h:cstructs.h ::h:cproto.h  ::h:path.h ∂
  31.       ::h:typedefs.h ::h:proto.h ::h:cpuconf.h
  32.  
  33. identify.c.oƒ ::h:version.h
  34.  
  35. rtdb.c.oƒ ::h:version.h icontype.h
  36.  
  37. dlrgint.c.oƒ ::h:rproto.h ::h:rexterns.h ::h:rmacros.h ::h:rstructs.h
  38.  
  39. xwindow.c.oƒ ::h:xwindow.h
  40.  
  41. rswitch.c.oƒ {RSWITCH}
  42.     {CC} -c {OFLAGS} {RSWITCH}
  43.  
  44. #
  45. #  The following section is commented out because it does not need to be
  46. #  performed unless changes are made to typespec.txt. Such changes 
  47. #  and are not part of the installation process.  However, if the
  48. #  distribution files are unloaded in a fashion such that their dates
  49. #  are not set properly, the following section would be attempted.
  50. #
  51. #  Note that if any changes are made to the file mentioned above, the
  52. #  comment characters at the beginning of the following lines should be
  53. #  removed.
  54. #
  55. #  Note that icont must be on your search path for this.
  56. #
  57. #
  58. #icontype.hƒ typespec.txt typespec
  59. #    typespec <typespec.txt >icontype.h
  60. #
  61. #typespecƒ typespec.icn
  62. #    icont typespec
  63. nn>,¥lsym.c⁄TEXTMPS Makefile-TEXTMPS TEXTMPS ¶‡ºVǨ,¥
  64. Makefile.unixTEXT@1á
  65. f¨¶fl˚¶fl˚ ¨H    Monacospecify a definition
  66. #  a*S˝dSΩ¶¸¡Aˇ*S˝dSΩnn>G`‚>MPSR
  67. ÌˇˇˇˇLI¿